<template>
    <el-main>
        <el-main class="ep-body"> 
                  <epl-topBar :hidden="false" :person="form.aac001" :company="form.aac002" personType="PERSON" companyType="COMPANY"  >
                            <el-button size="medium" type="primary">查询</el-button>
                            <el-button size="medium">重置</el-button>
                        </epl-topBar>  
                        <epl-userMessage dataType="company" idCount="13" :panel="panel">
            
                        </epl-userMessage>     
            <el-card class="ep-card"> 
                <ep-title>请输入单位欠费查询信息</ep-title>
                <el-form :model="form" :rules="rules" ref="form">                 
                    <el-row :gutter="10">
                       <ep-dateTime colspan="9" label="欠费开始年月 " name="aae030" :property="form.aae030" p="R" 
                            :datas="{formData:form}" format="yyyyMM"></ep-dateTime>
                        <ep-dateTime colspan="9" label="欠费结束年月 " name="aae030" :property="form.aae030" p="R" 
                            :datas="{formData:form}" format="yyyyMM"></ep-dateTime>   
                    </el-row> 
                    <ep-title>请输入单位欠费核销信息</ep-title>
                    <el-row :gutter="10">
                        <ep-select colspan="8" label="核销类型 " name="hxlx" :property="form.hxlx" p="R" 
                            :datas="{formData:form}"></ep-select>
                        <ep-input colspan="8" label="上级批文号 " name="peh" :property="form.peh" p="R" 
                            :datas="{formData:form}" ></ep-input> 
                        <ep-input colspan="8" label="核销原因 " name="hxyy" :property="form.hxyy" p="R" 
                            :datas="{formData:form}" ></ep-input>   
                    </el-row> 
                </el-form>
                <ep-title>单位缴费信息</ep-title>
                <el-row>
                    <ep-table :data="tableData" border style="width: 100%;" height="300">
                            <ep-table-column editor="checkbox" width="55" header="选择" ></ep-table-column>    
                            <ep-table-column  editor="select" codetype="AAE140"   name="aae140" header="险种类型"></ep-table-column>
                            <ep-table-column  editor="text" edited  name="aac003" header="征收方式"></ep-table-column>               
                            <ep-table-column  editor="select"    name="aae140" header="费款所属期"></ep-table-column>
                            <ep-table-column  editor="text" edited  name="aae020" header="金额"></ep-table-column>
                            <ep-table-column  editor="text" edited  name="aae022" header="缴费基数"></ep-table-column>
                             <ep-table-column  editor="text" edited  name="dwyj" header="单位应缴"></ep-table-column>
                              <ep-table-column  editor="text" edited  name="gryj" header="个人应缴"></ep-table-column>
                    </ep-table>
                </el-row>
               
                <div style="margin: 15px 0;"></div>
                <el-row type="flex" justify="center">
                    <ep-saveButton  type="primary"  id="doSave"  ref="save" @formValidate="formValidate" :validate="['form']" 
                        :datas="{panel:panel,formData: form,tableData: tableData}" name="保存"></ep-saveButton>
                </el-row>
            </el-card>
        </el-main>
    </el-main>
</template>


<script src="../js/CpArrearsCancelJS.js"></script>
